package com.cheer.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author cheer
 */
@Data
public class MallOrderQueryDTO {

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    private Long shopId;

    private String orderNumber;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date fromDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date toDate;

    private Integer type = 1;

    private Integer status;

    private Integer refundStatus;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date hexiaoFromDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date  hexiaoToDate;

}
